package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.PrintTemplate;
import com.zhijian.medical.entity.vo.request.PrintTemplateSearchVo;
import com.zhijian.medical.entity.vo.response.PrintTemplateVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PrintTemplateMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PrintTemplate record);

    int insertSelective(PrintTemplate record);

    PrintTemplate selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PrintTemplate record);

    int updateByPrimaryKey(PrintTemplate record);

    int count(PrintTemplateSearchVo printTemplateSearchVo);

    List<PrintTemplateVo> selectList(PrintTemplateSearchVo printTemplateSearchVo);

    PrintTemplateVo selectVoById(Long id);

    int insertBatch(@Param("entities") List<PrintTemplate> entities);
}